package com.wn.test;

import com.wn.entity.Person;
import com.wn.factoryUtils.FirstFactory;

public class day1test3 {
    public static void main(String[] args) {
        FirstFactory factory = new FirstFactory();
        Person person = (Person)factory.doPerson("中国人");
        person.eat();
    }





}
